#include<iostream>

using namespace std;

void solve()
{
	int n; cin >> n;
	int num = 1;
	int pos = 0;
	while (1)
	{
		if (num % 2) pos -= 2 * num - 1;
		else pos += 2 * num - 1;
		if (abs(pos) > n)
		{
			if (num % 2) cout << "Sakurako" << endl;
			else cout << "Kosuke" << endl;
			return;
		}
		num += 1;
	}
	return;
}

int main()
{
	int t; cin >> t;
	while (t--)
	{
		solve();
	}
	return 0;
}